<?php
require_once ROOT_PATH.'mobiapi/request/base.req.php';

class MobiRequest extends BaseRequest
{
	var $id;
	
	var $order_num;
	
	function __construct($request)
	{
		parent::__construct($request);

		$this->id = isset($request['id']) ? $request['id'] : '';
		$this->order_num = isset($request['order_num']) ? $request['order_num'] : '';
	}
	
	function is_valid()
	{
		return ($this->id != '' && $this->order_num != '');
	}
}